package com.sdap2.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.math.BigDecimal;

@Data
public class GreenhouseDTO {
    @NotBlank(message = "大棚名称不能为空")
    private String name;
    
    private String address;
    
    @NotNull(message = "大棚面积不能为空")
    private BigDecimal area;
    
    @NotBlank(message = "大棚编号不能为空")
    private String boxNo;
    
    private String accessToken;
} 